You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generated OpenAPI docs are checked into our repo, so unless the API spec changes (or there are updates to the plugin/theme) there should not be changes to the generated docs pages.
Describe the bug
Request example values for
date
anddate-time
properties change each time OpenAPI docs are generated.This seems to be the reason why specific endpoints had always-changing frontmatter
api
props (#692).Expected behavior
The example values should not change.
Current behavior
The example values always reflect the current date/time.
Possible solution
Provide a value to the
Date()
constructor here:docusaurus-openapi-docs/packages/docusaurus-plugin-openapi-docs/src/openapi/createRequestExample.ts
Lines 33 to 34 in add373b
Context
Generated OpenAPI docs are checked into our repo, so unless the API spec changes (or there are updates to the plugin/theme) there should not be changes to the generated docs pages.
Your Environment
0.0.0-beta.727
The text was updated successfully, but these errors were encountered: