Add message content type #97
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate OpenAPI definition | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
validate_openapi: | |
runs-on: ubuntu-latest | |
name: Swagger Editor Validator Service | |
# Service containers to run with `runner-job` | |
services: | |
# Label used to access the service container | |
swagger-editor: | |
# Docker Hub image | |
image: swaggerapi/swagger-editor | |
ports: | |
# Maps port 8080 on service container to the host 80 | |
- 80:8080 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Validate OpenAPI definition | |
uses: char0n/swagger-editor-validate@v1 | |
with: | |
swagger-editor-url: http://localhost/ | |
definition-file: openapi.yaml |