springdoc / springdoc-openapi-maven-plugin

Library for OpenAPI 3 with spring-boot
https://springdoc.org
Apache License 2.0
141 stars 37 forks source link

Add parameter that makes it possible to attach openapi.yaml files #22

Closed maddingo closed 3 years ago

maddingo commented 3 years ago

This PR also improves the java doc comments (They are displayed on mvn springdoc-openapi:help -Ddetail=true)

maddingo commented 3 years ago

This PR fixes #23

vb-chris commented 2 years ago

Although this PR was merged into master, version 1.3 from Maven Central does not contain the introduced configuration parameter outputFileType. How is that possible?

bnasslahsen commented 2 years ago

The objectif of the PR, is to make it possible to attach openapi.yaml files as well. This is being resolved without any additional parameter. https://github.com/springdoc/springdoc-openapi-maven-plugin/commit/c0a46512adfa641d303ca4f20623e83d17cf988e

vb-chris commented 2 years ago

OK, I see, but the file extension and classifier of the attached artifact seem to be json even if the format is YAML.

bnasslahsen commented 2 years ago

see the thread here: https://github.com/springdoc/springdoc-openapi-maven-plugin/issues/23