Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add openapi:generate Meta support to dsl.Server #3405

Merged
merged 2 commits into from
Nov 1, 2023

Conversation

tchssk
Copy link
Member

@tchssk tchssk commented Oct 30, 2023

Usage

Server("test", func() {
	Host("localhost", func() {
		URI("https://goa.design")
	})
	Meta("openapi:generate", "false")
})

The suppressed documents

openapi.json

"host": "goa.design",

openapi.yaml

host: goa.design

openapi3.json

"servers": [
    {
        "url": "https://goa.design"
    }
],

openapi3.yaml

servers:
    - url: https://goa.design

@tchssk tchssk marked this pull request as ready for review October 30, 2023 11:36
@raphael
Copy link
Member

raphael commented Nov 1, 2023

This is great, thank you!

@raphael raphael merged commit 42853eb into goadesign:v3 Nov 1, 2023
9 checks passed
@tchssk tchssk deleted the dsl-meta-openapi-generate-server branch November 1, 2023 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants