Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
85d97da
Adds draft schema docs with partial info
spacether Nov 25, 2023
8bfbf44
Changes python to java types
spacether Nov 25, 2023
f7154f5
Adds schema name to doc, adds ref link
spacether Nov 25, 2023
37a2423
Fixes schema readline link to ref schemas and listed file location
spacether Nov 25, 2023
cb2e6bd
Works on schema doc types
spacether Nov 25, 2023
abdd563
Improves input type for array and map in schema docs
spacether Nov 25, 2023
ba7caf0
passes in forceNull so types match java
spacether Nov 25, 2023
cab1955
Turns on header for input map keys
spacether Nov 25, 2023
9072926
New section removed, map output header added
spacether Nov 25, 2023
1fa66cc
Adds output type base class
spacether Nov 25, 2023
887d545
reverts the segment templates
spacether Nov 25, 2023
4aa6ed3
Uses whitespace control char to fix segment Object
spacether Nov 25, 2023
42cd886
Fixes input type template issues
spacether Nov 25, 2023
d25a3d2
Changes to fixed input typ template
spacether Nov 25, 2023
23f7247
Fixes input type whitespace
spacether Nov 25, 2023
b5ba3c3
Updates output type template to eliminare endChar and fix whitespace
spacether Nov 25, 2023
2a2a064
Removes endChar usages
spacether Nov 25, 2023
5ee9f93
Fixes output base class type info
spacether Nov 25, 2023
c22a39c
Adds types of map key value inputs
spacether Nov 25, 2023
2f570d1
Adds notes info for map key value inputs
spacether Nov 25, 2023
5e53e11
Adds methods
spacether Nov 25, 2023
b735aee
Adds method info to map output type
spacether Nov 25, 2023
1a7b90f
Adds array model headers and input and output types
spacether Nov 25, 2023
3935dc4
Adds list item type
spacether Nov 25, 2023
4c138df
Updates schema docs to look like javadoc
spacether Nov 25, 2023
5549734
Adds nested class summary
spacether Nov 25, 2023
179f493
Makes inner classes static
spacether Nov 25, 2023
7e014df
Adds extension info for classes
spacether Nov 25, 2023
f7209b1
Adds and uses a reverse template helper in schema docs
spacether Nov 26, 2023
ef13bb8
Prints only schema in docs
spacether Nov 26, 2023
74b1edc
Moves array template to separate part of schema docs
spacether Nov 26, 2023
87eddbf
Moves map output class in docs
spacether Nov 26, 2023
5e6d917
For ref schemas, adds extension info to docs
spacether Nov 27, 2023
d1a42d3
Adds links to ref schemas
spacether Nov 27, 2023
94bef09
Adds link to output type in validate method
spacether Nov 27, 2023
feb0b1a
Adds link for schema validate for list output types
spacether Nov 27, 2023
577cdb5
Adds nested class links
spacether Nov 27, 2023
6f0bda8
Improves list output type docs
spacether Nov 27, 2023
74c3cfb
Adds output type links for of methods
spacether Nov 27, 2023
d8e99a2
Improves doc validate signatures for array and map output types
spacether Nov 27, 2023
06fc369
Makes schema classes static
spacether Nov 27, 2023
c7272ee
Fixes formatting for map input keys
spacether Nov 27, 2023
54aafd4
Uses isSimpleString in schema class writing
spacether Nov 27, 2023
edf3d6b
Uses isSimpleNull
spacether Nov 27, 2023
c9a9bd8
isSimpleInteger isSimpleNumber
spacether Nov 27, 2023
0f6df20
Uses isSimpleBoolean
spacether Nov 27, 2023
ca368da
Uses isSimpleArray
spacether Nov 27, 2023
b343ba4
Uses isSimpleObject
spacether Nov 27, 2023
9971d8a
Uses isSimpleAnyType
spacether Nov 27, 2023
f928672
Adds line breaks before class extension line in schema docs
spacether Nov 27, 2023
dc08408
Corrects schema extension lines
spacether Nov 28, 2023
0796b83
Adds doc link for self ref
spacether Nov 28, 2023
0a9bac4
Adds ref schema extension to docs with links
spacether Nov 28, 2023
89a87e8
Fixes links to component sschemas in readme
spacether Nov 28, 2023
16c567f
Adds keywordToValidator info
spacether Nov 28, 2023
e33333b
Adds field summary, breaks table
spacether Nov 28, 2023
ca0ceca
Adds list link in schema doc for properties
spacether Nov 28, 2023
c8d4bf1
Adds link to map type
spacether Nov 28, 2023
3f303f1
Fixes all list and map type property outputs
spacether Nov 28, 2023
2d74d26
Uses forDocs in type
spacether Nov 28, 2023
9910933
Updates format template
spacether Nov 28, 2023
2227cfa
Fixes schema docs for keywordToValidator properties
spacether Nov 28, 2023
06e62ef
Fixes indentation for keywordToValidator
spacether Nov 28, 2023
722bd08
Adds forDocs to items
spacether Nov 28, 2023
cbe153d
Adds forDocs higher up
spacether Nov 28, 2023
3ae8146
Fixes indentation in addProps if keywordToValidator
spacether Nov 28, 2023
7e5a3e3
Adds docs links for items schemas
spacether Nov 28, 2023
3bb209b
Adds addProps docs links
spacether Nov 28, 2023
3592fa0
Adds links to schema properties
spacether Nov 28, 2023
26b6b11
Removes field summary and method summary when schema classes extend p…
spacether Nov 28, 2023
df80955
Lists that the validate method is inherited from schemas.XJsonSchema
spacether Nov 28, 2023
39afe71
Removes pythn reference from java docs
spacether Nov 28, 2023
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Prev Previous commit
Next Next commit
Adds schema name to doc, adds ref link
  • Loading branch information
spacether committed Nov 25, 2023
commit f7154f5e4d9307b8a9b7b892468b0ed4dba5e25c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Int32JsonContentTypeHeaderSchema1
main.java.org.openapijsonschematools.components.headers.int32jsoncontenttypeheader.content.applicationjson.Int32JsonContentTypeHeaderSchema
```
type: JsonSchema
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# NumberHeaderSchema1
main.java.org.openapijsonschematools.components.headers.numberheader.NumberHeaderSchema
```
type: JsonSchema
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# RefContentSchemaHeaderSchema1
main.java.org.openapijsonschematools.components.headers.refcontentschemaheader.content.applicationjson.RefContentSchemaHeaderSchema
```
type: JsonSchema
Expand All @@ -6,4 +7,4 @@ type: JsonSchema
## Ref Schema Info
Ref Schema | Input Type | Output Type
---------- | ---------- | -----------
| |
[**StringWithValidation.StringWithValidation1**](../../../../../hematools/components/schemas/StringWithValidation.md) | |
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# RefSchemaHeaderSchema1
main.java.org.openapijsonschematools.components.headers.refschemaheader.RefSchemaHeaderSchema
```
type: JsonSchema
Expand All @@ -6,4 +7,4 @@ type: JsonSchema
## Ref Schema Info
Ref Schema | Input Type | Output Type
---------- | ---------- | -----------
| |
[**StringWithValidation.StringWithValidation1**](../../../hematools/components/schemas/StringWithValidation.md) | |
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# StringHeaderSchema1
main.java.org.openapijsonschematools.components.headers.stringheader.StringHeaderSchema
```
type: JsonSchema
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Schema1
main.java.org.openapijsonschematools.components.parameters.componentrefschemastringwithvalidation.content.applicationjson.Schema
```
type: JsonSchema
Expand All @@ -6,4 +7,4 @@ type: JsonSchema
## Ref Schema Info
Ref Schema | Input Type | Output Type
---------- | ---------- | -----------
| |
[**StringWithValidation.StringWithValidation1**](../../../../../hematools/components/schemas/StringWithValidation.md) | |
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Schema1
main.java.org.openapijsonschematools.components.parameters.pathusername.Schema
```
type: JsonSchema
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Schema1
main.java.org.openapijsonschematools.components.parameters.refschemastringwithvalidation.Schema
```
type: JsonSchema
Expand All @@ -6,4 +7,4 @@ type: JsonSchema
## Ref Schema Info
Ref Schema | Input Type | Output Type
---------- | ---------- | -----------
| |
[**StringWithValidation.StringWithValidation1**](../../../hematools/components/schemas/StringWithValidation.md) | |
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Schema1
main.java.org.openapijsonschematools.components.requestbodies.client.content.applicationjson.Schema
```
type: JsonSchema
Expand All @@ -6,4 +7,4 @@ type: JsonSchema
## Ref Schema Info
Ref Schema | Input Type | Output Type
---------- | ---------- | -----------
| |
[**Client.Client1**](../../../../hematools/components/schemas/Client.md) | |
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Schema1
main.java.org.openapijsonschematools.components.requestbodies.pet.content.applicationjson.Schema
```
type: JsonSchema
Expand All @@ -6,4 +7,4 @@ type: JsonSchema
## Ref Schema Info
Ref Schema | Input Type | Output Type
---------- | ---------- | -----------
| |
[**Pet.Pet1**](../../../../hematools/components/schemas/Pet.md) | |
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Schema1
main.java.org.openapijsonschematools.components.requestbodies.pet.content.applicationxml.Schema
```
type: JsonSchema
Expand All @@ -6,4 +7,4 @@ type: JsonSchema
## Ref Schema Info
Ref Schema | Input Type | Output Type
---------- | ---------- | -----------
| |
[**RefPet.RefPet1**](../../../../hematools/components/schemas/RefPet.md) | |
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Schema1
main.java.org.openapijsonschematools.components.requestbodies.userarray.content.applicationjson.Schema
```
type: JsonSchema
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# LocationSchema1
main.java.org.openapijsonschematools.components.responses.headerswithnobody.headers.location.LocationSchema
```
type: JsonSchema
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Schema1
main.java.org.openapijsonschematools.components.responses.successfulxmlandjsonarrayofpet.content.applicationjson.Schema
```
type: JsonSchema
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Schema1
main.java.org.openapijsonschematools.components.responses.successfulxmlandjsonarrayofpet.content.applicationxml.Schema
```
type: JsonSchema
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Schema1
main.java.org.openapijsonschematools.components.responses.successinlinecontentandheader.content.applicationjson.Schema
```
type: JsonSchema
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SomeHeaderSchema1
main.java.org.openapijsonschematools.components.responses.successinlinecontentandheader.headers.someheader.SomeHeaderSchema
```
type: JsonSchema
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Schema1
main.java.org.openapijsonschematools.components.responses.successwithjsonapiresponse.content.applicationjson.Schema
```
type: JsonSchema
Expand All @@ -6,4 +7,4 @@ type: JsonSchema
## Ref Schema Info
Ref Schema | Input Type | Output Type
---------- | ---------- | -----------
| |
[**ApiResponseSchema.ApiResponseSchema1**](../../../../../hematools/components/schemas/ApiResponseSchema.md) | |
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.AbstractStepMessage
# AbstractStepMessage1
org.openapijsonschematools.components.schema.AbstractStepMessage1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.AdditionalPropertiesClass
# AdditionalPropertiesClass1
org.openapijsonschematools.components.schema.AdditionalPropertiesClass1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.AdditionalPropertiesSchema
# AdditionalPropertiesSchema1
org.openapijsonschematools.components.schema.AdditionalPropertiesSchema1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.AdditionalPropertiesWithArrayOfEnums
# AdditionalPropertiesWithArrayOfEnums1
org.openapijsonschematools.components.schema.AdditionalPropertiesWithArrayOfEnums1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.Address
# Address1
org.openapijsonschematools.components.schema.Address1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.Animal
# Animal1
org.openapijsonschematools.components.schema.Animal1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.AnimalFarm
# AnimalFarm1
org.openapijsonschematools.components.schema.AnimalFarm1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.AnyTypeAndFormat
# AnyTypeAndFormat1
org.openapijsonschematools.components.schema.AnyTypeAndFormat1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.AnyTypeNotString
# AnyTypeNotString1
org.openapijsonschematools.components.schema.AnyTypeNotString1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.ModelApiResponse
# ApiResponseSchema1
org.openapijsonschematools.components.schema.ApiResponseSchema1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.Apple
# Apple1
org.openapijsonschematools.components.schema.Apple1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.AppleReq
# AppleReq1
org.openapijsonschematools.components.schema.AppleReq1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.ArrayHoldingAnyType
# ArrayHoldingAnyType1
org.openapijsonschematools.components.schema.ArrayHoldingAnyType1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.ArrayOfArrayOfNumberOnly
# ArrayOfArrayOfNumberOnly1
org.openapijsonschematools.components.schema.ArrayOfArrayOfNumberOnly1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.ArrayOfEnums
# ArrayOfEnums1
org.openapijsonschematools.components.schema.ArrayOfEnums1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.ArrayOfNumberOnly
# ArrayOfNumberOnly1
org.openapijsonschematools.components.schema.ArrayOfNumberOnly1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.ArrayTest
# ArrayTest1
org.openapijsonschematools.components.schema.ArrayTest1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.ArrayWithValidationsInItems
# ArrayWithValidationsInItems1
org.openapijsonschematools.components.schema.ArrayWithValidationsInItems1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.Banana
# Banana1
org.openapijsonschematools.components.schema.Banana1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.BananaReq
# BananaReq1
org.openapijsonschematools.components.schema.BananaReq1.java
```
type: JsonSchema
```
Expand Down
3 changes: 2 additions & 1 deletion samples/client/petstore/java/docs/components/schemas/Bar.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.Bar
# Bar1
org.openapijsonschematools.components.schema.Bar1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.BasquePig
# BasquePig1
org.openapijsonschematools.components.schema.BasquePig1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.BooleanEnum
# BooleanEnum1
org.openapijsonschematools.components.schema.BooleanEnum1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.ModelBoolean
# BooleanSchema1
org.openapijsonschematools.components.schema.BooleanSchema1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.Capitalization
# Capitalization1
org.openapijsonschematools.components.schema.Capitalization1.java
```
type: JsonSchema
```
Expand Down
3 changes: 2 additions & 1 deletion samples/client/petstore/java/docs/components/schemas/Cat.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.Cat
# Cat1
org.openapijsonschematools.components.schema.Cat1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.Category
# Category1
org.openapijsonschematools.components.schema.Category1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.ChildCat
# ChildCat1
org.openapijsonschematools.components.schema.ChildCat1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.ClassModel
# ClassModel1
org.openapijsonschematools.components.schema.ClassModel1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.Client
# Client1
org.openapijsonschematools.components.schema.Client1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.ComplexQuadrilateral
# ComplexQuadrilateral1
org.openapijsonschematools.components.schema.ComplexQuadrilateral1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.ComposedAnyOfDifferentTypesNoValidations
# ComposedAnyOfDifferentTypesNoValidations1
org.openapijsonschematools.components.schema.ComposedAnyOfDifferentTypesNoValidations1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.ComposedArray
# ComposedArray1
org.openapijsonschematools.components.schema.ComposedArray1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.ComposedBool
# ComposedBool1
org.openapijsonschematools.components.schema.ComposedBool1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.ComposedNone
# ComposedNone1
org.openapijsonschematools.components.schema.ComposedNone1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.ComposedNumber
# ComposedNumber1
org.openapijsonschematools.components.schema.ComposedNumber1.java
```
type: JsonSchema
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.openapijsonschematools.components.schema.ComposedObject
# ComposedObject1
org.openapijsonschematools.components.schema.ComposedObject1.java
```
type: JsonSchema
```
Expand Down
Loading