Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/BaselineOfOpenAPI/BaselineOfOpenAPI.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ BaselineOfOpenAPI >> baseline: spec [
package: 'OpenAPI-Core' with: [ spec requires: #('JSONSchema Core' 'NeoJSON'). ];
package: 'OpenAPI-Core-Tests' with: [ spec requires: #('OpenAPI-Core' 'JSONSchema Tests'). ];
package: 'OpenAPI-REST' with: [ spec requires: #('OpenAPI-Core' 'ZincHTTPComponents') ];
package: 'OpenAPI-REST-Tests' with: [ spec requires: #('OpenAPI-REST') ];
package: 'OpenAPI-REST-Tests' with: [ spec requires: #('OpenAPI-REST' 'OpenAPI-Core-Tests') ];
package: 'OpenAPI-Client' with: [ spec requires: #('OpenAPI-Core') ];
package: 'OpenAPI-Client-Tests' with: [ spec requires: #('OpenAPI-Client') ].
spec
Expand Down
21 changes: 0 additions & 21 deletions source/OpenAPI-Core/OAResponse.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -60,27 +60,6 @@ OAResponse >> contentAtType: aString put: aMediaTypeObject [
content at: aString put: aMediaTypeObject
]

{ #category : 'as yet unclassified' }
OAResponse >> convert: aString contentType: aMimeType [
| methodName |
methodName := 'convert', aMimeType main capitalized, aMimeType sub capitalized.
^ self
perform: methodName asSymbol asMutator
with: aString
]

{ #category : 'as yet unclassified' }
OAResponse >> convertApplicationJson: aString [
^ (NeoJSONReader on: aString readStream)
mapClass: NeoJSONObject;
next
]

{ #category : 'as yet unclassified' }
OAResponse >> convertTextPlain: aString [
^ aString
]

{ #category : 'accessing' }
OAResponse >> description [
^ description.
Expand Down
Loading